<!DOCTYPE html>
<html lang="zh-Hans">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 4.2.1">
  <link rel="apple-touch-icon" sizes="180x180" href="/blog/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/blog/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/blog/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/blog/images/logo.svg" color="#222">

<link rel="stylesheet" href="/blog/css/main.css">


<link rel="stylesheet" href="/blog/lib/font-awesome/css/all.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"yoursite.com","root":"/blog/","scheme":"Gemini","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}}};
  </script>

  <meta name="description" content="偶尔发现win10可以利用wsl功能安装Ubuntu子系统，相对于虚拟机更加的轻便快捷，下面将说明如何安装Ubuntu以及如何对ffmpeg进行编译  wsl安装系统开启wslgraph LR; 控制面板--&gt;程序功能--&gt;适用于Linux的Windows子系统  下载linux系统">
<meta property="og:type" content="article">
<meta property="og:title" content="ffmpeg在win10下编译">
<meta property="og:url" content="http://yoursite.com/2020/07/31/ffmpeg%E5%9C%A8win10%E4%B8%8B%E7%BC%96%E8%AF%91/index.html">
<meta property="og:site_name" content="二松同学">
<meta property="og:description" content="偶尔发现win10可以利用wsl功能安装Ubuntu子系统，相对于虚拟机更加的轻便快捷，下面将说明如何安装Ubuntu以及如何对ffmpeg进行编译  wsl安装系统开启wslgraph LR; 控制面板--&gt;程序功能--&gt;适用于Linux的Windows子系统  下载linux系统">
<meta property="article:published_time" content="2020-07-31T09:52:38.000Z">
<meta property="article:modified_time" content="2020-07-31T09:54:14.718Z">
<meta property="article:author" content="二松">
<meta property="article:tag" content="FFmpeg">
<meta property="article:tag" content="Linux">
<meta name="twitter:card" content="summary">

<link rel="canonical" href="http://yoursite.com/2020/07/31/ffmpeg%E5%9C%A8win10%E4%B8%8B%E7%BC%96%E8%AF%91/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-Hans'
  };
</script>

  <title>ffmpeg在win10下编译 | 二松同学</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/blog/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">二松同学</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
      <p class="site-subtitle" itemprop="description">拥有梦想只是一种智力，实现梦想才是一种能力</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-home">

    <a href="/blog/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a>

  </li>
        <li class="menu-item menu-item-about">

    <a href="/blog/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a>

  </li>
        <li class="menu-item menu-item-tags">

    <a href="/blog/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a>

  </li>
        <li class="menu-item menu-item-categories">

    <a href="/blog/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/blog/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a>

  </li>
  </ul>
</nav>




</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-Hans">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/07/31/ffmpeg%E5%9C%A8win10%E4%B8%8B%E7%BC%96%E8%AF%91/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/blog/images/avatar.jpg">
      <meta itemprop="name" content="二松">
      <meta itemprop="description" content="good good study day day up.">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="二松同学">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          ffmpeg在win10下编译
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>
              

              <time title="创建时间：2020-07-31 17:52:38 / 修改时间：17:54:14" itemprop="dateCreated datePublished" datetime="2020-07-31T17:52:38+08:00">2020-07-31</time>
            </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/blog/categories/NDK/" itemprop="url" rel="index"><span itemprop="name">NDK</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <blockquote>
<p>偶尔发现win10可以利用wsl功能安装Ubuntu子系统，相对于虚拟机更加的轻便快捷，下面将说明如何安装Ubuntu以及如何对ffmpeg进行编译</p>
</blockquote>
<h2 id="wsl安装系统"><a href="#wsl安装系统" class="headerlink" title="wsl安装系统"></a>wsl安装系统</h2><h3 id="开启wsl"><a href="#开启wsl" class="headerlink" title="开启wsl"></a>开启wsl</h3><pre class="mermaid">graph LR;
控制面板-->程序功能-->适用于Linux的Windows子系统</pre>

<h3 id="下载linux系统"><a href="#下载linux系统" class="headerlink" title="下载linux系统"></a>下载linux系统</h3><pre class="mermaid">graph LR;
应用商店-->Ubuntu18.04-->安装-->设置用户名和密码</pre>

<h2 id="环境准备"><a href="#环境准备" class="headerlink" title="环境准备"></a>环境准备</h2><p>打开Ubuntu快捷方式，</p>
<ol>
<li><p>使用系统权限</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo -s</span><br></pre></td></tr></table></figure>
</li>
<li><p>安装make(make 是一个命令工具，它解释 Makefile 中的指令)</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">apt-get install make</span><br></pre></td></tr></table></figure>
</li>
<li><p>安装unzip(解压工具)</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">apt-get install unzip</span><br></pre></td></tr></table></figure>
</li>
<li><p>下载ndk</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#</span><span class="bash">下载ndk：</span></span><br><span class="line">wget https://dl.google.com/android/repository/android-ndk-r17c-linux-x86_64.zip</span><br><span class="line"><span class="meta">#</span><span class="bash">解压压缩包：</span></span><br><span class="line">unzip android-ndk-r17c-linux-x86_64.zip</span><br><span class="line"><span class="meta">#</span><span class="bash">删除压缩包</span></span><br><span class="line">rm android-ndk-r17c-linux-x86_64.zip</span><br></pre></td></tr></table></figure>
</li>
<li><p>配置系统ndk环境变量</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#</span><span class="bash">打开环境配置文件</span></span><br><span class="line">vim /etc/profile</span><br><span class="line"><span class="meta">#</span><span class="bash">按i键进入编辑模式，再文件最后添加环境变量，下面两行（NDKROOT的地址用解压开的地址）</span></span><br><span class="line">NDKROOT=/home/song/dev/android-ndk-r17c</span><br><span class="line">export PATH=$NDKROOT:$PATH</span><br><span class="line"><span class="meta">#</span><span class="bash">写好后按esc键进入命令模式，在按:wq三个键保存并退出</span></span><br><span class="line"><span class="meta">#</span><span class="bash">下面命令刷新环境变量</span></span><br><span class="line">source /etc/profile</span><br><span class="line"><span class="meta">#</span><span class="bash">验证变量是否成功，会输出版本信息</span></span><br><span class="line">ndk-build -v</span><br></pre></td></tr></table></figure>
</li>
<li><p>下载ffmpeg</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#</span><span class="bash">下载</span></span><br><span class="line">wget https://ffmpeg.org/releases/ffmpeg-4.0.5.tar.bz2</span><br><span class="line"><span class="meta">#</span><span class="bash">解压</span></span><br><span class="line">tar -jxvf ffmpeg-4.0.5.tar.bz2</span><br><span class="line"><span class="meta">#</span><span class="bash">删除压缩包</span></span><br><span class="line">rm ffmpeg-4.0.5.tar.bz2</span><br></pre></td></tr></table></figure>
</li>
<li><p>编写编译脚本</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#</span><span class="bash">进入解压好的目录</span></span><br><span class="line">cd ffmpeg-4.0.5</span><br><span class="line"><span class="meta">#</span><span class="bash">创建或打开脚本</span></span><br><span class="line">vim build.sh</span><br><span class="line"><span class="meta">#</span><span class="bash">按i键进行编辑，:wq保存并退出</span></span><br></pre></td></tr></table></figure>

<p>脚本如下</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#</span><span class="bash">!/bin/bash</span></span><br><span class="line"><span class="meta">#</span><span class="bash">注意此处的NDk路径需要自行替换</span></span><br><span class="line">NDK_ROOT=/home/ss/android-ndk-r17c</span><br><span class="line"><span class="meta">#</span><span class="bash">TOOLCHAIN 变量指向ndk中的交叉编译gcc所在的目录</span></span><br><span class="line">TOOLCHAIN=$NDK_ROOT/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/</span><br><span class="line"><span class="meta">#</span><span class="bash">FLAGS与INCLUDES变量 可以从AS ndk工程的.externativeBuild/cmake/debug/armeabi-v7a/build.ninja中拷贝，需要注意的是**地址**</span></span><br><span class="line">FLAGS="-isystem $NDK_ROOT/sysroot/usr/include/arm-linux-androideabi -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -std=c++11  -O0 -fPIC"</span><br><span class="line">INCLUDES="-isystem $NDK_ROOT/sources/cxx-stl/llvm-libc++/include -isystem $NDK_ROOT/sources/android/support/include -isystem $NDK_ROOT/sources/cxx-stl/llvm-libc++abi/include"</span><br><span class="line"></span><br><span class="line"><span class="meta">#</span><span class="bash">--prefix : 安装目录</span></span><br><span class="line"><span class="meta">#</span><span class="bash">--<span class="built_in">enable</span>-small : 优化大小</span></span><br><span class="line"><span class="meta">#</span><span class="bash">--<span class="built_in">disable</span>-programs : 不编译ffmpeg程序(命令行工具)，我们是需要获得静态(动态)库。</span></span><br><span class="line"><span class="meta">#</span><span class="bash">--<span class="built_in">disable</span>-avdevice : 关闭avdevice模块，此模块在android中无用</span></span><br><span class="line"><span class="meta">#</span><span class="bash">--<span class="built_in">disable</span>-encoders : 关闭所有编码器 (只播放不需要编码)</span></span><br><span class="line"><span class="meta">#</span><span class="bash">--<span class="built_in">disable</span>-muxers :  关闭所有复用器(封装器)，不需要生成mp4这样的文件，所以关闭</span></span><br><span class="line"><span class="meta">#</span><span class="bash">--<span class="built_in">disable</span>-filters :关闭视频滤镜</span></span><br><span class="line"><span class="meta">#</span><span class="bash">--<span class="built_in">enable</span>-cross-compile : 开启交叉编译（ffmpeg比较**跨平台**,并不是所有库都有这么happy的选项 ）</span></span><br><span class="line"><span class="meta">#</span><span class="bash">--cross-prefix: 看右边的值应该就知道是干嘛的，gcc的前缀 xxx/xxx/xxx-gcc 则给xxx/xxx/xxx-</span></span><br><span class="line"><span class="meta">#</span><span class="bash"><span class="built_in">disable</span>-shared <span class="built_in">enable</span>-static 不写也可以，默认就是这样的。</span></span><br><span class="line"><span class="meta">#</span><span class="bash">--sysroot:</span></span><br><span class="line"><span class="meta">#</span><span class="bash">--extra-cflags: 会传给gcc的参数</span></span><br><span class="line"><span class="meta">#</span><span class="bash">--arch --target-os :</span></span><br><span class="line">PREFIX=./android/armeabi-v7a</span><br><span class="line">bash ./configure \</span><br><span class="line">        --prefix=$PREFIX \</span><br><span class="line">        --prefix=$PREFIX \</span><br><span class="line">        --enable-small \</span><br><span class="line">        --disable-programs \</span><br><span class="line">        --disable-avdevice \</span><br><span class="line">        --disable-encoders \</span><br><span class="line">        --disable-muxers \</span><br><span class="line">        --disable-filters \</span><br><span class="line">        --enable-cross-compile \</span><br><span class="line">        --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \</span><br><span class="line">        --enable-shared \</span><br><span class="line">        --disable-static \</span><br><span class="line">        --sysroot=$NDK_ROOT/platforms/android-21/arch-arm \</span><br><span class="line">        --extra-cflags="$FLAGS $INCLUDES" \</span><br><span class="line">        --extra-cflags="-isysroot $NDK_ROOT/sysroot" \</span><br><span class="line">        --arch=arm \</span><br><span class="line">        --target-os=android</span><br><span class="line"></span><br><span class="line">make clean</span><br><span class="line">make install</span><br></pre></td></tr></table></figure>
</li>
<li><p>运行脚本</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">sh build.sh 或 ./build.sh</span><br><span class="line"><span class="meta">#</span><span class="bash">文件会在脚本配置的./android/armeabi-v7a下</span></span><br></pre></td></tr></table></figure>
</li>
<li><p>在c盘中拷贝出编译出的库(记得替换自己的路径)</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">C:\Users\SongSong\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\LocalState\rootfs\home\ss\ffmpeg-4.0.5</span><br></pre></td></tr></table></figure>

</li>
</ol>

    </div>

    
    
    

      <footer class="post-footer">
          <div class="post-tags">
              <a href="/blog/tags/FFmpeg/" rel="tag"># FFmpeg</a>
              <a href="/blog/tags/Linux/" rel="tag"># Linux</a>
          </div>

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/blog/2020/06/24/Typora%E5%9B%BE%E7%89%87%E4%B8%8A%E4%BC%A0%E9%85%8D%E7%BD%AE/" rel="prev" title="Typora图片上传配置">
      <i class="fa fa-chevron-left"></i> Typora图片上传配置
    </a></div>
      <div class="post-nav-item">
    <a href="/blog/2020/08/01/android%E5%BC%95%E5%85%A5ffmepg%E5%BA%93/" rel="next" title="android引入ffmepg库">
      android引入ffmepg库 <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#wsl安装系统"><span class="nav-number">1.</span> <span class="nav-text">wsl安装系统</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#开启wsl"><span class="nav-number">1.1.</span> <span class="nav-text">开启wsl</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#下载linux系统"><span class="nav-number">1.2.</span> <span class="nav-text">下载linux系统</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#环境准备"><span class="nav-number">2.</span> <span class="nav-text">环境准备</span></a></li></ol></div>
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="二松"
      src="/blog/images/avatar.jpg">
  <p class="site-author-name" itemprop="name">二松</p>
  <div class="site-description" itemprop="description">good good study day day up.</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/blog/archives/">
        
          <span class="site-state-item-count">27</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/blog/categories/">
          
        <span class="site-state-item-count">7</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/blog/tags/">
          
        <span class="site-state-item-count">32</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2021</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">二松</span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
  </div>

        








      </div>
    </footer>
  </div>

  
  <script src="/blog/lib/anime.min.js"></script>
  <script src="/blog/lib/velocity/velocity.min.js"></script>
  <script src="/blog/lib/velocity/velocity.ui.min.js"></script>

<script src="/blog/js/utils.js"></script>

<script src="/blog/js/motion.js"></script>


<script src="/blog/js/schemes/pisces.js"></script>


<script src="/blog/js/next-boot.js"></script>




  













<script>
if (document.querySelectorAll('pre.mermaid').length) {
  NexT.utils.getScript('//cdn.jsdelivr.net/npm/mermaid@8/dist/mermaid.min.js', () => {
    mermaid.initialize({
      theme    : 'forest',
      logLevel : 3,
      flowchart: { curve     : 'linear' },
      gantt    : { axisFormat: '%m/%d/%Y' },
      sequence : { actorMargin: 50 }
    });
  }, window.mermaid);
}
</script>


  

  

</body>
</html>
